import React, { Component } from 'react';
import ReactDom from 'react-dom';
import util from "@/common/util";
import turnplate from "@/common/turnplate";
import layer from "@/common/layer";
import Rate from '@/Components/rate';
import DDView from '@/Components/ddview';
import InlinePicker from '@/Components/inlinepicker';
import ReactSwiper from 'reactjs-swiper';
import axios from 'axios';
import { relative } from 'path';
import jquery from 'jquery';


class QRcode extends Component {
    constructor(props) {
        super(props);
        this.state = {

        }
    }

    async closebtn() {
        window.location.href = `./turnplate.html`;
    }

    render() {
        return (
            <div>
                <div id="qrcode">
                    <div className="qrcodebox">
                        <img className="closeicon" src="/assets/wechat/close.png" alt="" onClick={this.closebtn.bind(this)} />
                        <img className="qrcodeimg" src="/assets/wechat/qrcodeaud.png" alt="" />
                        <p>关注即可查看奖品发放情况</p>
                    </div>

                </div>
            </div >
        )
    }
}
ReactDom.render(<QRcode />, document.getElementById("app"));